package com.gqs.bookstore.dao;

import java.sql.SQLException;

import com.gqs.bookstore.vo.Book;
import com.gqs.bookstore.vo.PageBean;

public interface BookDao {
	//findByPagination----通过分类编号catalogId，页码index，页大小size查询
	PageBean<Book> findByPagination(Long catalogId , Long pageIndex, Long pageSize) throws SQLException;
	
	Book findById(Long id) throws SQLException;
}
